<?php

class View extends Controller {

	function View() {
		parent::Controller();
	}

	function index() {
		if( $this->Account->is_guest() ) {
			redirect( '', 'location');
		}

		$this->load->view('project/list');
	}

	function id($id) {
		$this->project = $this->Projects->fetch($id);
		$this->load->view('project/view');
	}

}

?>
